package com.example.carprofile;
//my comment
public class Car {

	String name;
	String make;
	String model;
	String fuelType;
	String color;
	int year;
	int engineCCM;
	int engineHP;
	
	public Car(String make, String model, String fuelType, String color, int year, int engineCCM, int engineHP){
		this.make = make;
		this.model = model;
		this.fuelType = fuelType;
		this.color = color;
		this.year = year;
		this.engineCCM = engineCCM;
		this.engineHP = engineHP;
		this.name = make + " " + model;
	}
	
	public Car(String name){
		this.name = name;
	}
	
	private String getName(){
		return this.name;
	}
}
